﻿using DH.Core;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace DH.Entity
{
    public class UserEntity : BaseEntity
    {
        /// <summary>
        /// 账号
        /// </summary>

        [Required]
        public string DH_Account { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string DH_RealName { get; set; }
        /// <summary>
        /// 昵称/展示名
        /// </summary>
        public string DH_NickName { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string DH_HeadIcon { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        
        [Required]
        public bool DH_Gender { get; set; }

        public DateTimeOffset? DH_Birthday { get; set; }

        public string DH_MobilePhone { get; set; }

        public string DH_Email { get; set; }

        public string DH_WeChat { get; set; }

        /// <summary>
        /// 安全级别
        /// </summary>
        public int? DH_SecurityLevel { get; set; }
        /// <summary>
        /// 个性签名
        /// </summary>
        public string DH_Signature { get; set; }

        public string DH_OrganizeId { get; set; }
        public string DH_DepartmentId { get; set; }

        public string DH_RoleId { get; set; }
        /// <summary>
        /// 岗位
        /// </summary>
        public string DH_DutyId { get; set; }

        public bool DH_IsAdministrator { get; set; }

        public bool DH_IsDeveloper { get; set; }
        /// <summary>
        ///删除标志
        /// </summary>
        public bool? DH_DeleteMark { get; set; }
        /// <summary>
        /// 有效标志
        /// </summary>
        public bool? DH_EnableMark { get; set; }

        public string DH_Description { get; set; }
        /// <summary>
        /// 用户密码
        /// </summary>
        public string DH_UserPass { get; set; }

        public string IndexId { get; set; }
        public string OrgName { get; set; }

    }

   
}
